package com.xbongbong.pro.statistic.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * 二级分类获取一级分类DTO
 *
 * @author 徐俊杰
 * @version v1.0
 * @date 2019/5/16 15:37
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class FirstCategoryDTO extends BaseDTO {
    private static final long serialVersionUID = -7284101474669038014L;
    /**
     * 二级图表分类id
     */
    @NotNull(message = "{dto.msg.firstCategory.secondCategoryId.NotNull}")
    private Long secondCategoryId;
}
